require 'rubygems'
require 'datamapper'

class User
  include DataMapper::Resource
  property :id, Serial
  property :name, String, :nullable => false
  property :password, String, :nullable => false
  property :ticket, String

  def self.new_user(name, pass)
  end

  def self.login(name, pass)
  end

  def self.logout(ticket)
  end

end

